package com.whu.MenuHub.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("foodflavor")
public class FoodFlavor implements Serializable {
    @TableId(value = "foodID", type = IdType.ASSIGN_ID)
    private Integer foodID;

    //吃辣、甜、咸、酸的等级分数
    private int spicy;
    private int sweet;
    private int salted;
    private int acid;
    //重口的程度
    @TableField("heavyTaste")
    private int heavyTaste;
    //对热的接收程度
    @TableField("hotLevel")
    private int hotLevel;
}
